package com.example.shardingjdbc.model.constants;

/**
 * @Description: 操作日志相关常量
 * @Author: Jerry
 * @Date: 2021-08-02 23:48
 */
public enum OperLogConstant {
    /**
     * 操作日志真实表格式：逻辑表名_年_季度，
     * eg: tbl_operlog_2021_3
     */
    QUARTER_SHARDING_PATTERN("%s_%d_%d");

    String val;
    OperLogConstant(String val) {
        this.val = val;
    }

    public String getVal() {
        return val;
    }
}
